/*
 * project.h
 *
 *  Created on: Feb 4, 2013
 *      Author: justin
 */

#ifndef PROJECT_H_
#define PROJECT_H_

#include <stdbool.h>
#include <stdint.h>
#include <string.h>
#include <avr/io.h>
//#include <avr/pgmspace.h>	//needed??
#include <avr/interrupt.h>
#include <util/delay.h>


#include "mytasks.h"
#include "RTOS/FreeRTOS.h"

#include "RTOS/task.h"	//must be before freeRTOS.h to use tracing macro
#include "RTOS/croutine.h"
#include "mytasks.h"
#include "RTOS/queue.h"
#include "RTOS/list.h"
#include "RTOS/timers.h"
#include "RTOS/lib_serial.h"
#include "RTOS/projdefs.h"
#include "RTOS/semphr.h"
#include "Comm_resources.h"

#endif /* PROJECT_H_ */


/*macro defines*/
#define sbi(port_name, pin_number) (port_name |= 1<<pin_number)
#define cbi(port_name, pin_number) ((port_name) &= (uint8_t)~(1 << pin_number))
#define rbi(port_name, pin_number) ((port_name & (1 << pin_number)) >> pin_number)

